package com.zy.experience_system.service;


import com.zy.experience_system.entity.User;
import com.zy.experience_system.form.AccountForm;
import com.zy.experience_system.form.CreateAccountForm;
import com.zy.experience_system.vo.AccountNameVO;
import com.zy.experience_system.vo.AccountVO;

import java.util.List;

public interface AccountService {
    AccountVO login(AccountForm accountForm);
    AccountVO findByUsername(String username);
    User findUserByUsername(String username);
    void save(CreateAccountForm createAccountForm);
    void update(String username, String password);
    void saveStu(String students);
    List<AccountNameVO> findAll();
}
